package v1

type DrivingLineVo struct {
	Distance float64   `json:"distance"`
	Duration float64   `json:"duration"`
	Polyline []float64 `json:"polyline"`
}

type CalculateDrivingLineForm struct {
	StartPointLongitude float64 `json:"startPointLongitude"`
	StartPointLatitude  float64 `json:"startPointLatitude"`
	EndPointLongitude   float64 `json:"endPointLongitude"`
	EndPointLatitude    float64 `json:"endPointLatitude"`
}

type TencentMapDrivingResp struct {
	Status  int                     `json:"status"`
	Message string                  `json:"message"`
	Result  TencentMapDrivingResult `json:"result"`
}

type TencentMapDrivingResult struct {
	Routes []TencentMapDrivingRoute `json:"routes"`
}

type TencentMapDrivingRoute struct {
	Mode     string    `json:"mode"`
	Distance float64   `json:"distance"`
	Duration float64   `json:"duration"`
	Polyline []float64 `json:"polyline"`
	// waypoints steps tags taxi_fare
}
